package com.lexian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店信息表
 * </p>
 *
 * @author testjava
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Store对象", description="门店信息表")
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店编号")
    @TableId(value = "store_id", type = IdType.AUTO)
    private Long storeId;

    @ApiModelProperty(value = "所属省份")
    private Integer provinceId;

    @ApiModelProperty(value = "所属城市")
    private Integer citysId;

    @ApiModelProperty(value = "所属区县")
    private Integer countyId;

    @ApiModelProperty(value = "门店名称")
    private String storename;

    @ApiModelProperty(value = "门店地址")
    private String storeaddress;

    @ApiModelProperty(value = "最大经度值")
    private Double maxlongitude;

    @ApiModelProperty(value = "最大纬度值")
    private Double maxlatitude;

    @ApiModelProperty(value = "最小经度值")
    private Double minlongitude;

    @ApiModelProperty(value = "最小纬度值")
    private Double minlatitude;

    @ApiModelProperty(value = "门店经度。由最大和最小经度平均")
    private Double longitude;

    @ApiModelProperty(value = "门店纬度。由最大和最小纬度平均")
    private Double latitude;

    @ApiModelProperty(value = "门店介绍")
    private String introduce;

    @ApiModelProperty(value = "门店开门营业时间")
    private Date starttime;

    @ApiModelProperty(value = "门店关门时间")
    private Date closetime;

    @ApiModelProperty(value = "门店状态。1：启用；0:冻结")
    private Integer status;


}
